<?php 
echo doctype('xhtml1-trans');
?>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>Sistema de Vendas On-line</title>
	<?php 
		$meta = array('name' => 'Content-type', 'content' => 'text/html; charset=iso-8859-1', 'type' => 'equiv');
		echo meta($meta);
		echo link_tag(array('href' => 'css/style.css', 'rel' => 'stylesheet', 'type' => 'text/css', 'media' => 'screen'));
		echo link_tag(array('href' => 'css/cupertino/jquery-ui-1.8.15.custom.css', 'rel' => 'stylesheet', 'type' => 'text/css', 'media' => 'screen'));
		//echo link_tag(array('href' => 'css/Aristo/jquery-ui-1.8.7.custom.css', 'rel' => 'stylesheet', 'type' => 'text/css', 'media' => 'screen'));
		echo link_tag(array('href' => 'css/fg.menu.css', 'rel' => 'stylesheet', 'type' => 'text/css', 'media' => 'screen'));
		echo link_tag(array('href' => 'css/humanmsg.css', 'rel' => 'stylesheet', 'type' => 'text/css', 'media' => 'screen'));
		echo link_tag(array('href' => 'css/menu.css', 'rel' => 'stylesheet', 'type' => 'text/css', 'media' => 'screen'));
		echo link_tag(array('href' => 'css/ui.jqgrid.css', 'rel' => 'stylesheet', 'type' => 'text/css', 'media' => 'screen'));
		?>
	<script src="<?php echo base_url(); ?>js/jquery-1.6.2.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo base_url(); ?>js/jquery-ui-1.8.15.custom.min.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo base_url(); ?>js/i18n/jquery-ui-i18n.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo base_url(); ?>js/fg.menu.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo base_url(); ?>js/i18n/grid.locale-pt-br.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo base_url(); ?>js/humanmsg.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo base_url(); ?>js/jquery.jqGrid.src.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo base_url(); ?>js/util.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo base_url(); ?>js/jquery.meio.mask.js" type="text/javascript" charset="utf-8"></script>
	<script src="<?php echo base_url(); ?>js/format-money.js" type="text/javascript" charset="utf-8"></script>
    <script>
    	$(function() {
    		$( "#accordion" ).accordion();
    	});
    </script>
    <script type="text/javascript" >
      (function($){
        // call setMask function on the document.ready event
          $(function(){
            $('input:text').setMask();
          }
        );
      })(jQuery);
    </script>
    <script type="text/javascript">	
    	$(function(){
    		// BUTTONS
    		$('.fg-button').hover(
    			function(){ $(this).removeClass('ui-state-default').addClass('ui-state-focus'); },
    			function(){ $(this).removeClass('ui-state-focus').addClass('ui-state-default'); }
    		);

    		// or from an external source
    	});

		function showMsg(msg)
		{
			humanMsg.displayMsg(msg);
			return false;
		}


    </script>
	<script type="text/javascript">
		$.jgrid.no_legacy_api = true;
		$.jgrid.useJSON = true;
	</script>
	<style type="text/css">
		.homeIcon {
	            background-image: url("<?php echo base_url()."images/home.png";?>") !important;
	            left: 10px;
	        }	
		.cancelIcon {
            background-image: url("<?php echo base_url()."images/cross-icon.png";?>") !important;
            left: 10px;
        }	
		.confirmIcon {
            background-image: url("<?php echo base_url()."images/accept.png";?>") !important;
            left: 10px;
        }	
		.saveIcon {
            background-image: url("<?php echo base_url()."images/disk.png";?>") !important;
            left: 10px;
        }	
		.invoiceIcon {
            background-image: url("<?php echo base_url()."images/invoice-icon16.png";?>") !important;
            left: 10px;
        }	
		.invoicesIcon {
            background-image: url("<?php echo base_url()."images/folder-invoices-icon16.png";?>") !important;
            left: 10px;
        }	
		.filterIcon {
            background-image: url("<?php echo base_url()."images/magnifier-icon.png";?>") !important;
            left: 10px;
        }	
	</style>	
</head>

<body>
	<div id="dialog-message" title="Alerta" style="display:none;"></div>
	<div id="dialog-confirm" title="Aten&ccedil;&atilde;o" style="display:none;">
		<p><span class="ui-icon ui-icon-alert" style="float:left; margin:0 7px 20px 0;"></span>Deseja excluir permanentemente esse registro?</p>
	</div>
	<div id="nome_sistema"><div style="width:1000px; margin:auto; border:0px solid #000; text-align:right"><h3>Sistema de Vendas On-line</h3></div></div>
    <div id="nome_sistema2"></div>
    <div id="topo">
        <!-- LOGO MARCA -->
        <div id="logo">
        	<img src="<?php echo base_url(); ?>images/logo_ortomedica.png"  />
        </div>
        <!-- X LOGO MARCA -->
        <!-- USUARIOS -->
        <div id="box_usuario">
            <div class="ui-accordion-content ui-helper-reset ui-widget-content ui-corner-bottom ui-accordion-content-active">
                <ul id="box_list_usuario">
                    <li><b>Vendedor: <?php echo $this->session->userdata('v_nome_usuario'); ?></b></li>
                </ul>
            </div>
        </div>
        <!-- X USUARIOS -->
    </div>